Skip to content

docs: add stateChanged and restartRequired reference#1622

Open
Gijsreyn wants to merge 2 commits into
PowerShell:mainfrom
Gijsreyn:gh-57/main/add-statechanged-restartrequired
Open

docs: add stateChanged and restartRequired reference#1622
Gijsreyn wants to merge 2 commits into
PowerShell:mainfrom
Gijsreyn:gh-57/main/add-statechanged-restartrequired

Conversation

@Gijsreyn

Copy link
Copy Markdown
Collaborator

PR Summary

This pull request adds both stateChanged() and restartRequired() reference documentation.

PR Context

Partially addresses #57 (even though it wasn't on the list).

Copilot AI review requested due to automatic review settings July 11, 2026 13:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds reference documentation for two DSC configuration document functions—stateChanged() and restartRequired()—and links them from the functions overview, expanding the configuration-expression function reference set.

Changes:

  • Added new reference page for stateChanged() including usage guidance and an end-to-end example.
  • Added new reference page for restartRequired() including parameter documentation and example usage.
  • Updated the functions overview page to include the new function entries and link references.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/reference/schemas/config/functions/stateChanged.md New reference documentation for stateChanged() with description, parameters, and example.
docs/reference/schemas/config/functions/restartRequired.md New reference documentation for restartRequired() with description, parameters, and example.
docs/reference/schemas/config/functions/overview.md Adds stateChanged() and restartRequired() to the system functions list and link references.

Comment on lines +101 to +105
Type: string
Required: conditional
MinimumCount: 0
MaximumCount: 1
```

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaeltlombardi - let's agree to disagree on this one, especially with the text from above?

Comment thread docs/reference/schemas/config/functions/restartRequired.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants